More than 3,400 search terms have been restricted on some websites in China as the world marks the 30th anniversary of the massacre.